import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],

  server: {
    open: true,
    port: 9021,
  },
  css: {
    /* CSS 预处理器 */
    preprocessorOptions: {
      scss: {
        charset: false,
        additionalData: `@import "./src/style.scss";`,
      },
    },
  },
});
